<?php
namespace app\index\controller;

class IndexController extends CommonController
{
    //1.前台首页
    public function index()
    {
        $data = $this->index_block('index');
        $this->assign([
            'data'  =>  $data,
        ]);
        return $this->fetch();
    }

}
